PaintArc
PaintArc Fill a wedge with current pen pattern and mode
#include <Quickdraw.h> Quickdraw
void PaintArc( theRect, startAngle, arcAngle );
Rect *theRect ; rectangle defining position and size
short startAngle ; position where arc begins
short arcAngle ; extent of the arc
PaintArc draws and fills a wedge of an oval whose size is defined by a
rectangle. The figure is filled with the current pen pattern and transfer mode.
theRect is the address of an 8-byte Rect structure, defined in local
coordinates. It defines the size and position of the oval, of which the
arc is a subset.
startAngle specifies the starting position and . . .
arcAngle specifies the distance along the arc to be painted. See FrameArc
for a description of Quickdraw "rectangular degrees" and related
information and examples.
Returns: none

Notes: A wedge-shaped area is filled. Note that the "wedge" is actually any subset
of an oval:
Although Quickdraw does not provide a tool for drawing the outline of a
wedge, you can do so by painting (or filling) the wedge black, in setting
theRect , and then painting the smaller wedge white:
Rect theRect;
SetRect( & theRect, 100,100, 200,200 );
FillArc( & theRect, 0,45, black ); /* paint black */
InsetRect( & theRect, 10,10 ); /* make smaller oval */
FillArc( & theRect, 0,45, white ); /* interior is white */
PaintArc doesn't change the pen position.
As with all Quickdraw drawing, the output is clipped to the intersection of
the current GrafPort's BitMap boundary rectangle, the port rectangle,
clipping region, and visible region.